package com.cysyz.commonservice.mycommonservice.exception;

import java.util.List;


public class ValueNotMatchException extends CommonServiceException {
	List<String> notequalEntityInputFieldNames;
	public ValueNotMatchException(List<String> notequalEntityInputFieldNames) {
		StringBuilder message = new StringBuilder("the value was no matched:");
		for (String fieldName : notequalEntityInputFieldNames) {
			message.append(fieldName).append(",");
		}
		message.deleteCharAt(message.length() - 1);
		commonServiceMsg = message.toString();
		this.notequalEntityInputFieldNames = notequalEntityInputFieldNames;
	}
	public ValueNotMatchException(String message) {
		super(message);
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = 4534636838950105393L;

}
